package com.siashan.toolkit.api.security.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 接口加密验签配置类
 *
 * @author  siashan
 * @since  v1.0.1
 **/
@ConfigurationProperties(prefix = RestCryptoProperties.PREFIX)
@Setter
@Getter
public class RestCryptoProperties {

    /**
     * Prefix of {@link RestCryptoProperties}.
     */
    public static final String PREFIX = "siashan.api-security";


    /**
     * 接口请求超时时间
     */
    private long timeout = 60;

    /**
     * 接口签名配置
     */
    private SignProperties sign ;


}
